//
//  DetailViewController.h
//  album
//
//  Created by 云天 李 on 12-1-18.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

@class Album;
@class AlbumPictureViewController;

@interface DetailViewController : UIViewController
<UITableViewDataSource, UITableViewDelegate, UINavigationControllerDelegate, UIImagePickerControllerDelegate>


@property (strong, nonatomic) Album *currentAlbum;

@property (strong, nonatomic) IBOutlet UITableView *thumbnailTableView;
@property (strong, nonatomic) NSMutableArray *pictures;

@property (strong, nonatomic) IBOutlet UIToolbar *toolbar;

@property (strong, nonatomic) UIImage *pickedImage;
@property (strong, nonatomic) UIImagePickerController *imagePickerController;

@property (strong, nonatomic) AlbumPictureViewController *albumPictureViewController;

// 从数据库读取当前相册下的所有图片
- (void) loadPictures;
@end
